package com.cn.mmd.service;

import com.cn.mmd.model.ShrioRole;

import java.util.List;

/**
 * Created by Administrator on 2016/8/9 0009.
 */
public interface ShiroRoleService {

    /**
     * 根据主键查询
     * @param roleId
     * @return
     */
    ShrioRole selectByPrimaryKey(Integer roleId);

    /**
     * 分页查询
     * @param shrioRole
     * @return
     */
    List<ShrioRole> selectByPaging(ShrioRole shrioRole);

    /**
     * 聚合角色列表
     * @return
     */
    int selectCount();
}
